package com.chb.command;

/**
 * @author chihb
 * @create-time 2024/10/27 7:59
 * @description
 */
public class LightOnCommand implements Command{
    private Light light;
    public LightOnCommand(Light light) {
        this.light = light;
    }
    @Override
    public void execute() {
        light.open();
    }
}
